import { IRoutes } from '@todo/core';
import { ROOM_ROUTES } from '../../room/config/routes.ts';

export const CORE_ROUTES = {
  HOME: 'home',
  404: '404',
};

export const routes: IRoutes = [
  {
    name: CORE_ROUTES.HOME,
    path: '/',
    forwardTo: ROOM_ROUTES.API,
  },
  {
    name: CORE_ROUTES[404],
    path: '/404',
  },
];
